Package com.quobis.sippo.sipposdk.client.model

Types

Link copied to clipboard
sealed class SippoClientError : Exception

Sippo client errors.

Link copied to clipboard
sealed class SippoResourceError : Exception

Resource errors.

Link copied to clipboard
sealed class SippoService<out V : Any>

A Sippo service.

Functions

Link copied to clipboard
fun SippoService<*>.failure(f: (Exception) -> Unit)

Calls the function f with a specific error when Either is failure.

Link copied to clipboard
fun <V : Any> SippoService<V>.success(f: (V) -> Unit)

Calls the function f with a specific value when SippoService is successful.